package com.aidex.biz.mapper;

import com.aidex.common.core.mapper.BaseMapper;
import com.aidex.biz.domain.CustomerDongtai;

import java.util.Map;

/**
 * 客户动态Mapper接口
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-12-28
 */
public interface CustomerDongtaiMapper extends BaseMapper<CustomerDongtai>
{

    /**
     * 批量删除客户动态
     * @param ids 需要删除的客户动态ID集合
     * @return
     */
    public int deleteCustomerDongtaiByIds(String[] ids);

    /**
     * 获取最大编号
     * @param customerDongtai 客户动态
     * @return 结果
     */
    public Integer findMaxSort(CustomerDongtai customerDongtai);

    /**
     * 批量插入
     * @param params
     * @return
     */
    public Integer insertBatch(Map<String,Object> params);

}
